package Markers;

public abstract class AbstractField
{
    public abstract int Get(int x,int y);
    public abstract int Set(int x,int y);    
    //--------------------------------------------------------------------------------------------------------
    public abstract int Width();    
    //--------------------------------------------------------------------------------------------------------
    public abstract int Height();
   
    //--------------------------------------------------------------------------------------------------------
    public abstract int Top();
    
    //--------------------------------------------------------------------------------------------------------
    public abstract int Left();
    
    //--------------------------------------------------------------------------------------------------------
    public  int Right()
    {        
            return this.Left() + this.Width();        
    }
    //--------------------------------------------------------------------------------------------------------
    public  int Bottom()
    {       
            return this.Top() + this.Height();       
    }
}